<template>
  <div id="">
    <router-view/>
    <!--<Suspension @switchRouter="switchRouter" :selection-index="this.$route.meta.selectionIndex"></Suspension>-->
  </div>
</template>

<script>
import Suspension from '../../../components/Suspension'
export default {
  name: 'survey',
  components: {
    Suspension
  },
  created () {

  },
  methods: {
    switchRouter () {
      if (this.$route.meta.selectionIndex === 0) {
        this.$router.push('/geography/geographyData')
      } else {
        this.$router.push('/geography/geographyView')
      }
    },
  }
}
</script>

<style lang="less" scoped>

</style>
